package com.msb.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: chshh
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class R<T> {

    private Integer code = 200;
    private String message = "";
    private T result;

    public R(T result) {
        this.result = result;
    }
}
